//
//  RCBaseVC.h
//  RocketProject
//
//  Created by chen jiedan on 13-5-28.
//  Copyright (c) 2013年 Rocket. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface RCBaseVC : UIViewController<UIGestureRecognizerDelegate>

@property (nonatomic, assign) UIView *viewContainer;
@property (nonatomic, retain) UIButton *returnBtn;
@property (nonatomic, retain) UILabel *titleLabel;
@property (nonatomic, retain) NSString *titleLabelText;

@property (nonatomic, assign) BOOL   isAddRecoginzer;
@property (nonatomic, retain) UIPanGestureRecognizer *recognizer;
@property (nonatomic, retain) UIImageView *lastScreenShotView;
@property (nonatomic, assign) CGPoint startTouch;
@property (nonatomic, retain) UIView *blackMask;
@property (nonatomic, retain) UIView *backgroundShotView;
@property (nonatomic, assign) BOOL   isMoving;
@property (nonatomic, retain) UIFont *titleFont;
@property (nonatomic, retain) UIColor *titleColor;
@property (nonatomic, assign) BOOL  hasTitleShadow;
@property (nonatomic, assign) BOOL  isIOS7;

-(UIBarButtonItem *) createBackBarButtonItem;

-(UILabel *) createTitleView;

-(UIBarButtonItem *) createLeftBarButtonItemWithButton:(UIButton *) button;

-(UIBarButtonItem *) createRightBarButtonItemWithButton:(UIButton *) button;

-(UIBarButtonItem *) createRightBarButtonItemWithButton:(UIButton *) button  withLabel:(UILabel*)label;

-(UIBarButtonItem *) createRightBarButtonItemWithButton:(UIButton *) button  withSecondButton:(UIButton*)secondButton;

-(UIBarButtonItem *) createRightBarButtonItemWithButton:(UIButton *) button  withSecondButton:(UIButton*)secondButton withThirdButton:(UIButton *)thirdButton;

@end
